[INFO] cloning repository https://github.com/yu-uyy/Rust-backend
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/yu-uyy/Rust-backend" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyu-uyy%2FRust-backend", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyu-uyy%2FRust-backend'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d661caf22fd90a4296d2bdfbd382eb775a5d0417
[INFO] fixing yu-uyy/Rust-backend against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fyu-uyy%2FRust-backend" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/yu-uyy/Rust-backend
[INFO] finished tweaking git repo https://github.com/yu-uyy/Rust-backend
[INFO] tweaked toml for git repo https://github.com/yu-uyy/Rust-backend written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/yu-uyy/Rust-backend on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/yu-uyy/Rust-backend already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded validator_derive v0.20.0
[INFO] [stderr]   Downloaded validator v0.20.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5
[INFO] running `Command { std: "docker" "start" "037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde_core v1.0.228
[INFO] [stderr]    Compiling typenum v1.20.1
[INFO] [stderr]    Compiling rustix v1.1.4
[INFO] [stderr]    Compiling pin-project-lite v0.2.17
[INFO] [stderr]    Compiling crossbeam-utils v0.8.21
[INFO] [stderr]    Compiling futures-core v0.3.32
[INFO] [stderr]    Compiling parking v2.2.1
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]    Compiling futures-io v0.3.32
[INFO] [stderr]    Compiling zerofrom v0.1.8
[INFO] [stderr]     Checking value-bag v1.12.0
[INFO] [stderr]    Compiling serde_json v1.0.150
[INFO] [stderr]     Checking yoke v0.8.2
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]     Checking log v0.4.30
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]    Compiling linux-raw-sys v0.12.1
[INFO] [stderr]    Compiling futures-lite v2.6.1
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]    Compiling async-task v4.7.1
[INFO] [stderr]    Compiling slab v0.4.12
[INFO] [stderr]    Compiling atomic-waker v1.1.2
[INFO] [stderr]    Compiling cmov v0.5.4
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]    Compiling piper v0.2.5
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]    Compiling icu_normalizer_data v2.2.0
[INFO] [stderr]    Compiling icu_properties_data v2.2.0
[INFO] [stderr]    Compiling ctutils v0.4.2
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]    Compiling rustls-pki-types v1.14.1
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]    Compiling getrandom v0.2.17
[INFO] [stderr]    Compiling async-executor v1.14.0
[INFO] [stderr]     Checking crypto-common v0.1.7
[INFO] [stderr]     Checking block-buffer v0.10.4
[INFO] [stderr]    Compiling async-channel v2.5.0
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling async-lock v3.4.2
[INFO] [stderr]    Compiling blocking v1.6.2
[INFO] [stderr]     Checking block-buffer v0.12.0
[INFO] [stderr]    Compiling rand_core v0.10.1
[INFO] [stderr]    Compiling event-listener v2.5.3
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling cpufeatures v0.3.0
[INFO] [stderr]    Compiling futures-sink v0.3.32
[INFO] [stderr]    Compiling thiserror v2.0.18
[INFO] [stderr]    Compiling percent-encoding v2.3.2
[INFO] [stderr]    Compiling async-channel v1.9.0
[INFO] [stderr]    Compiling hybrid-array v0.4.12
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling form_urlencoded v1.2.2
[INFO] [stderr]    Compiling hashbrown v0.16.1
[INFO] [stderr]     Checking digest v0.11.3
[INFO] [stderr]    Compiling tinyvec v1.11.0
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]    Compiling kv-log-macro v1.0.7
[INFO] [stderr]    Compiling tracing-core v0.1.36
[INFO] [stderr]    Compiling crc-catalog v2.5.0
[INFO] [stderr]    Compiling hashbrown v0.17.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]    Compiling crypto-common v0.2.2
[INFO] [stderr]    Compiling rustls v0.23.40
[INFO] [stderr]    Compiling futures-task v0.3.32
[INFO] [stderr]    Compiling iana-time-zone v0.1.65
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]    Compiling futures-util v0.3.32
[INFO] [stderr]    Compiling chrono v0.4.44
[INFO] [stderr]    Compiling smallvec v1.15.1
[INFO] [stderr]    Compiling either v1.16.0
[INFO] [stderr]    Compiling hashlink v0.11.0
[INFO] [stderr]    Compiling icu_normalizer v2.2.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.12
[INFO] [stderr]    Compiling indexmap v2.14.0
[INFO] [stderr]    Compiling parking_lot v0.12.5
[INFO] [stderr]    Compiling hmac v0.13.0
[INFO] [stderr]    Compiling unicode-normalization v0.1.25
[INFO] [stderr]    Compiling crc v3.4.0
[INFO] [stderr]    Compiling futures-intrusive v0.5.0
[INFO] [stderr]    Compiling async-fs v2.2.0
[INFO] [stderr]    Compiling idna_adapter v1.2.2
[INFO] [stderr]    Compiling rustls-webpki v0.103.13
[INFO] [stderr]    Compiling polling v3.11.0
[INFO] [stderr]    Compiling chacha20 v0.10.0
[INFO] [stderr]    Compiling idna v1.1.0
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling webpki-roots v1.0.7
[INFO] [stderr]    Compiling crossbeam-queue v0.3.12
[INFO] [stderr]    Compiling unicode-bidi v0.3.18
[INFO] [stderr]    Compiling unicode-properties v0.1.4
[INFO] [stderr]    Compiling url v2.5.8
[INFO] [stderr]    Compiling uuid v1.23.2
[INFO] [stderr]    Compiling bytes v1.11.1
[INFO] [stderr]    Compiling base64 v0.22.1
[INFO] [stderr]     Checking regex-automata v0.4.14
[INFO] [stderr]    Compiling async-global-executor v2.4.1
[INFO] [stderr]    Compiling stringprep v0.1.5
[INFO] [stderr]     Checking tokio v1.52.3
[INFO] [stderr]    Compiling rand v0.10.1
[INFO] [stderr]    Compiling hkdf v0.13.0
[INFO] [stderr]    Compiling async-std v1.13.2
[INFO] [stderr]    Compiling md-5 v0.11.0
[INFO] [stderr]    Compiling sha2 v0.11.0
[INFO] [stderr]    Compiling atoi v2.0.0
[INFO] [stderr]    Compiling futures-channel v0.3.32
[INFO] [stderr]    Compiling whoami v2.1.2
[INFO] [stderr]    Compiling dotenvy v0.15.7
[INFO] [stderr]    Compiling byteorder v1.5.0
[INFO] [stderr]    Compiling hex v0.4.3
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]     Checking inout v0.2.2
[INFO] [stderr]    Compiling proc-macro-error-attr2 v2.0.0
[INFO] [stderr]     Checking time v0.3.47
[INFO] [stderr]     Checking num-bigint v0.4.6
[INFO] [stderr]     Checking cipher v0.5.2
[INFO] [stderr]     Checking base64ct v1.8.3
[INFO] [stderr]    Compiling proc-macro-error2 v2.0.1
[INFO] [stderr]     Checking blowfish v0.10.0
[INFO] [stderr]     Checking password-hash v0.5.0
[INFO] [stderr]     Checking axum-core v0.5.6
[INFO] [stderr]     Checking serde_urlencoded v0.7.1
[INFO] [stderr]     Checking serde_path_to_error v0.1.20
[INFO] [stderr]    Compiling validator_derive v0.20.0
[INFO] [stderr]     Checking pem v3.0.6
[INFO] [stderr]     Checking blake2 v0.10.6
[INFO] [stderr]     Checking tracing-log v0.2.0
[INFO] [stderr]     Checking bcrypt v0.19.1
[INFO] [stderr]     Checking tower-http v0.6.11
[INFO] [stderr]     Checking argon2 v0.5.3
[INFO] [stderr]     Checking regex v1.12.3
[INFO] [stderr]     Checking matchers v0.2.0
[INFO] [stderr]     Checking tracing-subscriber v0.3.23
[INFO] [stderr]     Checking simple_asn1 v0.6.4
[INFO] [stderr]     Checking jsonwebtoken v9.3.1
[INFO] [stderr]     Checking sqlx-core v0.9.0
[INFO] [stderr]     Checking validator v0.20.0
[INFO] [stderr]     Checking hyper v1.10.1
[INFO] [stderr]     Checking tower v0.5.3
[INFO] [stderr]     Checking hyper-util v0.1.20
[INFO] [stderr]     Checking axum v0.8.9
[INFO] [stderr]     Checking sqlx-postgres v0.9.0
[INFO] [stderr]    Compiling sqlx-macros-core v0.9.0
[INFO] [stderr]    Compiling sqlx-macros v0.9.0
[INFO] [stderr]     Checking sqlx v0.9.0
[INFO] [stderr]     Checking axum_back v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/auth.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let admin = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 14 | |         "SELECT id, email, password_hash, full_name FROM admins WHERE email = $1",
[INFO] [stdout] 15 | |         payload.email
[INFO] [stdout] 16 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/auth.rs:13:17
[INFO] [stdout]    |
[INFO] [stdout] 13 |       let admin = sqlx::query!(
[INFO] [stdout]    |  _________________^
[INFO] [stdout] 14 | |         "SELECT id, email, password_hash, full_name FROM admins WHERE email = $1",
[INFO] [stdout] 15 | |         payload.email
[INFO] [stdout] 16 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/auth.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 60 | |         "INSERT INTO admins (id, email, password_hash, full_name) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 61 | |         Uuid::new_v4(),
[INFO] [stdout] 62 | |         payload.email,
[INFO] [stdout] 63 | |         password_hash,
[INFO] [stdout] 64 | |         payload.full_name
[INFO] [stdout] 65 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/auth.rs:59:18
[INFO] [stdout]    |
[INFO] [stdout] 59 |       let result = sqlx::query!(
[INFO] [stdout]    |  __________________^
[INFO] [stdout] 60 | |         "INSERT INTO admins (id, email, password_hash, full_name) VALUES ($1, $2, $3, $4)",
[INFO] [stdout] 61 | |         Uuid::new_v4(),
[INFO] [stdout] 62 | |         payload.email,
[INFO] [stdout] 63 | |         password_hash,
[INFO] [stdout] 64 | |         payload.full_name
[INFO] [stdout] 65 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |             match sqlx::query!("SELECT id FROM students WHERE id = $1", uuid)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:123:19
[INFO] [stdout]     |
[INFO] [stdout] 123 |             match sqlx::query!("SELECT id FROM students WHERE id = $1", uuid)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:136:19
[INFO] [stdout]     |
[INFO] [stdout] 136 |             match sqlx::query!("SELECT id FROM students WHERE student_id = $1", &id)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:136:19
[INFO] [stdout]     |
[INFO] [stdout] 136 |             match sqlx::query!("SELECT id FROM students WHERE student_id = $1", &id)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |         sqlx::query!("DELETE FROM students WHERE id = $1", uuid)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:193:9
[INFO] [stdout]     |
[INFO] [stdout] 193 |         sqlx::query!("DELETE FROM students WHERE id = $1", uuid)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 |         sqlx::query!("DELETE FROM students WHERE student_id = $1", &id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/student.rs:197:9
[INFO] [stdout]     |
[INFO] [stdout] 197 |         sqlx::query!("DELETE FROM students WHERE student_id = $1", &id)
[INFO] [stdout]     |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let student_count = sqlx::query!("SELECT COUNT(*) as count FROM students")
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:10:25
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let student_count = sqlx::query!("SELECT COUNT(*) as count FROM students")
[INFO] [stdout]    |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |       let active_courses = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 21 | |         "SELECT COUNT(DISTINCT course) as count FROM students WHERE status = 'Active'"
[INFO] [stdout] 22 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:20:26
[INFO] [stdout]    |
[INFO] [stdout] 20 |       let active_courses = sqlx::query!(
[INFO] [stdout]    |  __________________________^
[INFO] [stdout] 21 | |         "SELECT COUNT(DISTINCT course) as count FROM students WHERE status = 'Active'"
[INFO] [stdout] 22 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let attendance_stats = sqlx::query!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 33 | |         "SELECT 
[INFO] [stdout] 34 | |             COUNT(*) as total,
[INFO] [stdout] 35 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] 36 | |          FROM attendance"
[INFO] [stdout] 37 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:32:28
[INFO] [stdout]    |
[INFO] [stdout] 32 |       let attendance_stats = sqlx::query!(
[INFO] [stdout]    |  ____________________________^
[INFO] [stdout] 33 | |         "SELECT 
[INFO] [stdout] 34 | |             COUNT(*) as total,
[INFO] [stdout] 35 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] 36 | |          FROM attendance"
[INFO] [stdout] 37 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |           let stats = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 72 | |             "SELECT 
[INFO] [stdout] 73 | |                 COUNT(*) as total,
[INFO] [stdout] 74 | |                 SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             week_end
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/dashboard.rs:71:21
[INFO] [stdout]    |
[INFO] [stdout] 71 |           let stats = sqlx::query!(
[INFO] [stdout]    |  _____________________^
[INFO] [stdout] 72 | |             "SELECT 
[INFO] [stdout] 73 | |                 COUNT(*) as total,
[INFO] [stdout] 74 | |                 SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] ...  |
[INFO] [stdout] 78 | |             week_end
[INFO] [stdout] 79 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:110:26
[INFO] [stdout]     |
[INFO] [stdout] 110 |       let low_attendance = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 111 | |         "SELECT 
[INFO] [stdout] 112 | |             s.id, s.full_name, s.course,
[INFO] [stdout] 113 | |             COUNT(a.id) as total_classes,
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |          AND COUNT(a.id) > 0"
[INFO] [stdout] 120 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:110:26
[INFO] [stdout]     |
[INFO] [stdout] 110 |       let low_attendance = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 111 | |         "SELECT 
[INFO] [stdout] 112 | |             s.id, s.full_name, s.course,
[INFO] [stdout] 113 | |             COUNT(a.id) as total_classes,
[INFO] [stdout] ...   |
[INFO] [stdout] 119 | |          AND COUNT(a.id) > 0"
[INFO] [stdout] 120 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:145:29
[INFO] [stdout]     |
[INFO] [stdout] 145 |       let inactive_students = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 146 | |         "SELECT COUNT(*) as count FROM students WHERE status = 'Inactive'"
[INFO] [stdout] 147 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:145:29
[INFO] [stdout]     |
[INFO] [stdout] 145 |       let inactive_students = sqlx::query!(
[INFO] [stdout]     |  _____________________________^
[INFO] [stdout] 146 | |         "SELECT COUNT(*) as count FROM students WHERE status = 'Inactive'"
[INFO] [stdout] 147 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let total_students = sqlx::query!("SELECT COUNT(*) as count FROM students")
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:165:26
[INFO] [stdout]     |
[INFO] [stdout] 165 |     let total_students = sqlx::query!("SELECT COUNT(*) as count FROM students")
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:181:25
[INFO] [stdout]     |
[INFO] [stdout] 181 |       let empty_courses = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 182 | |         "SELECT COUNT(*) as count FROM courses c 
[INFO] [stdout] 183 | |          LEFT JOIN students s ON c.course_code = s.course 
[INFO] [stdout] 184 | |          WHERE s.id IS NULL"
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:181:25
[INFO] [stdout]     |
[INFO] [stdout] 181 |       let empty_courses = sqlx::query!(
[INFO] [stdout]     |  _________________________^
[INFO] [stdout] 182 | |         "SELECT COUNT(*) as count FROM courses c 
[INFO] [stdout] 183 | |          LEFT JOIN students s ON c.course_code = s.course 
[INFO] [stdout] 184 | |          WHERE s.id IS NULL"
[INFO] [stdout] 185 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:212:28
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let attendance_today = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 213 | |         "SELECT COUNT(*) as count FROM attendance WHERE date = $1",
[INFO] [stdout] 214 | |         today
[INFO] [stdout] 215 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:212:28
[INFO] [stdout]     |
[INFO] [stdout] 212 |       let attendance_today = sqlx::query!(
[INFO] [stdout]     |  ____________________________^
[INFO] [stdout] 213 | |         "SELECT COUNT(*) as count FROM attendance WHERE date = $1",
[INFO] [stdout] 214 | |         today
[INFO] [stdout] 215 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let total_students = sqlx::query!("SELECT COUNT(*) as count FROM students WHERE status = 'Active'")
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:223:26
[INFO] [stdout]     |
[INFO] [stdout] 223 |     let total_students = sqlx::query!("SELECT COUNT(*) as count FROM students WHERE status = 'Active'")
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:242:26
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let inactive_count = sqlx::query!("SELECT COUNT(*) as count FROM students WHERE status = 'Inactive'")
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/admin_profile.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let existing = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 41 | |         "SELECT id, email, full_name FROM admins WHERE id = $1",
[INFO] [stdout] 42 | |         admin_uuid
[INFO] [stdout] 43 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/dashboard.rs:242:26
[INFO] [stdout]     |
[INFO] [stdout] 242 |     let inactive_count = sqlx::query!("SELECT COUNT(*) as count FROM students WHERE status = 'Inactive'")
[INFO] [stdout]     |                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/admin_profile.rs:60:27
[INFO] [stdout]    |
[INFO] [stdout] 60 |           let email_taken = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 61 | |             "SELECT id FROM admins WHERE email = $1 AND id != $2",
[INFO] [stdout] 62 | |             new_email,
[INFO] [stdout] 63 | |             admin_uuid
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/admin_profile.rs:40:20
[INFO] [stdout]    |
[INFO] [stdout] 40 |       let existing = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 41 | |         "SELECT id, email, full_name FROM admins WHERE id = $1",
[INFO] [stdout] 42 | |         admin_uuid
[INFO] [stdout] 43 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/admin_profile.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |       let admin = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 103 | |         "SELECT password_hash FROM admins WHERE id = $1",
[INFO] [stdout] 104 | |         admin_uuid
[INFO] [stdout] 105 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/admin_profile.rs:60:27
[INFO] [stdout]    |
[INFO] [stdout] 60 |           let email_taken = sqlx::query!(
[INFO] [stdout]    |  ___________________________^
[INFO] [stdout] 61 | |             "SELECT id FROM admins WHERE email = $1 AND id != $2",
[INFO] [stdout] 62 | |             new_email,
[INFO] [stdout] 63 | |             admin_uuid
[INFO] [stdout] 64 | |         )
[INFO] [stdout]    | |_________^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/admin_profile.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | /     sqlx::query!(
[INFO] [stdout] 135 | |         "UPDATE admins SET password_hash = $1 WHERE id = $2",
[INFO] [stdout] 136 | |         new_password_hash,
[INFO] [stdout] 137 | |         admin_uuid
[INFO] [stdout] 138 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/admin_profile.rs:102:17
[INFO] [stdout]     |
[INFO] [stdout] 102 |       let admin = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 103 | |         "SELECT password_hash FROM admins WHERE id = $1",
[INFO] [stdout] 104 | |         admin_uuid
[INFO] [stdout] 105 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/course.rs:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let existing = sqlx::query!("SELECT course_code FROM courses WHERE course_code = $1", &course_code)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/admin_profile.rs:134:5
[INFO] [stdout]     |
[INFO] [stdout] 134 | /     sqlx::query!(
[INFO] [stdout] 135 | |         "UPDATE admins SET password_hash = $1 WHERE id = $2",
[INFO] [stdout] 136 | |         new_password_hash,
[INFO] [stdout] 137 | |         admin_uuid
[INFO] [stdout] 138 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/course.rs:160:18
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let result = sqlx::query!("DELETE FROM courses WHERE course_code = $1", &course_code)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/course.rs:107:20
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let existing = sqlx::query!("SELECT course_code FROM courses WHERE course_code = $1", &course_code)
[INFO] [stdout]     |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/attendance.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let student = sqlx::query!("SELECT id FROM students WHERE id = $1", payload.student_id)
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/course.rs:160:18
[INFO] [stdout]     |
[INFO] [stdout] 160 |     let result = sqlx::query!("DELETE FROM courses WHERE course_code = $1", &course_code)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/attendance.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let course = sqlx::query!("SELECT course_code FROM courses WHERE course_code = $1", &payload.course_code)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/attendance.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let student = sqlx::query!("SELECT id FROM students WHERE id = $1", payload.student_id)
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/attendance.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let existing = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 39 | |         "SELECT id FROM attendance WHERE student_id = $1 AND course_code = $2 AND date = $3",
[INFO] [stdout] 40 | |         payload.student_id,
[INFO] [stdout] 41 | |         payload.course_code,
[INFO] [stdout] 42 | |         payload.date
[INFO] [stdout] 43 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/attendance.rs:26:18
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let course = sqlx::query!("SELECT course_code FROM courses WHERE course_code = $1", &payload.course_code)
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/attendance.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let student = sqlx::query!("SELECT full_name FROM students WHERE id = $1", student_id)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/attendance.rs:38:20
[INFO] [stdout]    |
[INFO] [stdout] 38 |       let existing = sqlx::query!(
[INFO] [stdout]    |  ____________________^
[INFO] [stdout] 39 | |         "SELECT id FROM attendance WHERE student_id = $1 AND course_code = $2 AND date = $3",
[INFO] [stdout] 40 | |         payload.student_id,
[INFO] [stdout] 41 | |         payload.course_code,
[INFO] [stdout] 42 | |         payload.date
[INFO] [stdout] 43 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/attendance.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |       let stats = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 151 | |         "SELECT 
[INFO] [stdout] 152 | |             COUNT(*) as total_classes,
[INFO] [stdout] 153 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present_count
[INFO] [stdout] ...   |
[INFO] [stdout] 157 | |         course_code
[INFO] [stdout] 158 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/attendance.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |     let student = sqlx::query!("SELECT full_name FROM students WHERE id = $1", student_id)
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/notice.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let existing = sqlx::query!("SELECT id FROM notices WHERE id = $1", id)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/attendance.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |       let stats = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 151 | |         "SELECT 
[INFO] [stdout] 152 | |             COUNT(*) as total_classes,
[INFO] [stdout] 153 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present_count
[INFO] [stdout] ...   |
[INFO] [stdout] 157 | |         course_code
[INFO] [stdout] 158 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/notice.rs:123:18
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let result = sqlx::query!("DELETE FROM notices WHERE id = $1", id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/notice.rs:75:20
[INFO] [stdout]    |
[INFO] [stdout] 75 |     let existing = sqlx::query!("SELECT id FROM notices WHERE id = $1", id)
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let status_stats = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 12 | |         "SELECT status, COUNT(*) as count FROM students GROUP BY status"
[INFO] [stdout] 13 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/notice.rs:123:18
[INFO] [stdout]     |
[INFO] [stdout] 123 |     let result = sqlx::query!("DELETE FROM notices WHERE id = $1", id)
[INFO] [stdout]     |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let course_stats = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 37 | |         "SELECT course, COUNT(*) as count FROM students GROUP BY course ORDER BY count DESC"
[INFO] [stdout] 38 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:11:24
[INFO] [stdout]    |
[INFO] [stdout] 11 |       let status_stats = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 12 | |         "SELECT status, COUNT(*) as count FROM students GROUP BY status"
[INFO] [stdout] 13 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let overall = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 67 | |         "SELECT 
[INFO] [stdout] 68 | |             COUNT(*) as total,
[INFO] [stdout] 69 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] 70 | |          FROM attendance"
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:36:24
[INFO] [stdout]    |
[INFO] [stdout] 36 |       let course_stats = sqlx::query!(
[INFO] [stdout]    |  ________________________^
[INFO] [stdout] 37 | |         "SELECT course, COUNT(*) as count FROM students GROUP BY course ORDER BY count DESC"
[INFO] [stdout] 38 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |       let course_attendance = sqlx::query!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 89 | |         "SELECT 
[INFO] [stdout] 90 | |             c.course_code,
[INFO] [stdout] 91 | |             c.course_name,
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |          ORDER BY c.course_code"
[INFO] [stdout] 98 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:66:19
[INFO] [stdout]    |
[INFO] [stdout] 66 |       let overall = sqlx::query!(
[INFO] [stdout]    |  ___________________^
[INFO] [stdout] 67 | |         "SELECT 
[INFO] [stdout] 68 | |             COUNT(*) as total,
[INFO] [stdout] 69 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] 70 | |          FROM attendance"
[INFO] [stdout] 71 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |       let low_attendance = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 126 | |         "SELECT 
[INFO] [stdout] 127 | |             s.student_id,
[INFO] [stdout] 128 | |             s.full_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 137 | |          ORDER BY (SUM(CASE WHEN a.status = true THEN 1 ELSE 0 END)::float / COUNT(a.id)) ASC"
[INFO] [stdout] 138 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]   --> src/handlers/report.rs:88:29
[INFO] [stdout]    |
[INFO] [stdout] 88 |       let course_attendance = sqlx::query!(
[INFO] [stdout]    |  _____________________________^
[INFO] [stdout] 89 | |         "SELECT 
[INFO] [stdout] 90 | |             c.course_code,
[INFO] [stdout] 91 | |             c.course_name,
[INFO] [stdout] ...  |
[INFO] [stdout] 97 | |          ORDER BY c.course_code"
[INFO] [stdout] 98 | |     )
[INFO] [stdout]    | |_____^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:182:23
[INFO] [stdout]     |
[INFO] [stdout] 182 |       let course_data = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 183 | |         "SELECT 
[INFO] [stdout] 184 | |             c.course_code,
[INFO] [stdout] 185 | |             c.course_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |         course_code
[INFO] [stdout] 193 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:125:26
[INFO] [stdout]     |
[INFO] [stdout] 125 |       let low_attendance = sqlx::query!(
[INFO] [stdout]     |  __________________________^
[INFO] [stdout] 126 | |         "SELECT 
[INFO] [stdout] 127 | |             s.student_id,
[INFO] [stdout] 128 | |             s.full_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 137 | |          ORDER BY (SUM(CASE WHEN a.status = true THEN 1 ELSE 0 END)::float / COUNT(a.id)) ASC"
[INFO] [stdout] 138 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:206:22
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let attendance = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 207 | |         "SELECT 
[INFO] [stdout] 208 | |             COUNT(*) as total,
[INFO] [stdout] 209 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | |         course_code
[INFO] [stdout] 213 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:182:23
[INFO] [stdout]     |
[INFO] [stdout] 182 |       let course_data = sqlx::query!(
[INFO] [stdout]     |  _______________________^
[INFO] [stdout] 183 | |         "SELECT 
[INFO] [stdout] 184 | |             c.course_code,
[INFO] [stdout] 185 | |             c.course_name,
[INFO] [stdout] ...   |
[INFO] [stdout] 192 | |         course_code
[INFO] [stdout] 193 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |       let stats = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 242 | |         "SELECT 
[INFO] [stdout] 243 | |             COUNT(*) as total,
[INFO] [stdout] 244 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] ...   |
[INFO] [stdout] 248 | |         range.end_date
[INFO] [stdout] 249 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:206:22
[INFO] [stdout]     |
[INFO] [stdout] 206 |       let attendance = sqlx::query!(
[INFO] [stdout]     |  ______________________^
[INFO] [stdout] 207 | |         "SELECT 
[INFO] [stdout] 208 | |             COUNT(*) as total,
[INFO] [stdout] 209 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] ...   |
[INFO] [stdout] 212 | |         course_code
[INFO] [stdout] 213 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: error communicating with database: Connection refused (os error 111)
[INFO] [stdout]    --> src/handlers/report.rs:241:17
[INFO] [stdout]     |
[INFO] [stdout] 241 |       let stats = sqlx::query!(
[INFO] [stdout]     |  _________________^
[INFO] [stdout] 242 | |         "SELECT 
[INFO] [stdout] 243 | |             COUNT(*) as total,
[INFO] [stdout] 244 | |             SUM(CASE WHEN status = true THEN 1 ELSE 0 END) as present
[INFO] [stdout] ...   |
[INFO] [stdout] 248 | |         range.end_date
[INFO] [stdout] 249 | |     )
[INFO] [stdout]     | |_____^
[INFO] [stdout]     |
[INFO] [stdout]     = note: this error originates in the macro `$crate::sqlx_macros::expand_query` which comes from the expansion of the macro `sqlx::query` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/handlers/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `uuid::Uuid`
[INFO] [stdout]  --> src/handlers/auth.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use uuid::Uuid;
[INFO] [stdout]   |     ^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `axum_back` (lib) due to 38 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `axum_back` (lib test) due to 38 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5", kill_on_drop: false }`
[INFO] [stdout] 037f045169e809b32bfd5a358d983c7ed86e4bdd59d712a9a85b9e88680a5bf5
